package com.yin.ketech.mapper.user;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yin.ketech.entity.user.SysUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author luzw
 * @since 2020-06-01
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Select("select * from sys_user where username = #{username}")
    SysUser selectByUsername(@Param("username") String username);
}
